package org.csu.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("cart")
public class Cart {
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    @TableField(value = "itemid")
    private String itemId;
    @TableField(value = "userid")
    private String userName;
    private int quantity;

}
